﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class PlayerDTO
    {
        /// <summary>
        /// Mã cầu thủ
        /// </summary>
        private int m_PLAYER_ID;
        public int PLAYER_ID
        {
            get { return m_PLAYER_ID; }
            set { m_PLAYER_ID = value; }
        }
        /// <summary>
        /// Tên cầu thủ
        /// </summary>
        private string m_PLAYER_NAME;
        public string PLAYER_NAME
        {
            get { return m_PLAYER_NAME; }
            set { m_PLAYER_NAME = value; }
        }

        /// <summary>
        /// Ngày sinh
        /// </summary>
        private DateTime m_BIRTH_DATE;
        public DateTime BIRTH_DATE
        {
            get { return m_BIRTH_DATE; }
            set { m_BIRTH_DATE = value; }
        }

        private string m_PLAYER_DESC;

        public string PLAYER_DESC
        {
            get { return m_PLAYER_DESC; }
            set { m_PLAYER_DESC = value; }
        }

        /// <summary>
        /// Hình cầu thủ
        /// </summary>
        private byte[] m_PLAYER_PICTURE;
        public byte[] PLAYER_PICTURE
        {
            get { return m_PLAYER_PICTURE; }
            set { m_PLAYER_PICTURE = value; }
        }



        /// <summary>
        /// Đội bóng
        /// </summary>
        private TeamDTO m_TEAM;
        public TeamDTO TEAM
        {
            get { return m_TEAM; }
            set { m_TEAM = value; }
        }

        /// <summary>
        /// Loại cầu thủ
        /// </summary>
        private PlayerTypeDTO m_PLAYER_TYPE;
        public PlayerTypeDTO PLAYER_TYPE
        {
            get { return m_PLAYER_TYPE; }
            set { m_PLAYER_TYPE = value; }
        }

        /// <summary>
        /// Vị trí
        /// </summary>
        private PositionDTO m_POSITION;
        public PositionDTO POSITION
        {
            get { return m_POSITION; }
            set { m_POSITION = value; }
        }



    }

    public static class PlayerColumns
    {
        public static string PLAYER_ID = "PLAYER_ID";
        public static string PLAYER_NAME = "PLAYER_NAME";
        public static string BIRTH_DATE = "BIRTH_DATE";
        public static string PLAYER_DESC = "PLAYER_DESC";
        public static string PLAYER_PICTURE = "PLAYER_PICTURE";
        public static string PLAYER_TYPE = "PLAYER_TYPE.";
        public static string POSITION = "POSITION.";
        public static string TEAM = "TEAM.";
    }
}
